This was an omission, horizontal/vertical would only be set
when the orientation is changed.
if (priv->orientation != g_value_get_enum (value))
{
priv->orientation = g_value_get_enum (value);
+ _gtk_orientable_set_style_classes (GTK_ORIENTABLE (box));
/* Re-box the children in the new orientation */
gtk_widget_queue_resize (GTK_WIDGET (box));
g_object_notify_by_pspec (object, pspec);
priv->row_spacing = 0;
priv->activate_on_single_click = TRUE;
+ _gtk_orientable_set_style_classes (GTK_ORIENTABLE (box));
+
priv->children = g_sequence_new (NULL);
priv->multipress_gesture = gtk_gesture_multi_press_new (GTK_WIDGET (box));